<?php
App::uses('AppModel', 'Model');
class OrdenTrabajo extends AppModel{
	
    public $useTable = 'OrdenesTrabajo';
    public $primaryKey = 'idOrden';
    
    public $belongsTo = array(
        'Cliente' => array(
            'className' => 'Cliente',
            'foreignKey' => 'idCliente'
        ),
        'Vehiculo' => array(
            'className' => 'Vehiculo',
            'foreignKey' => 'idVehiculo'
        )
    );
}
?>